Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHString Structure / Read Method / Read(Stream,Int32,Byte[],Int32,Int32) Method


In This Topic
    Read(Stream,Int32,Byte[],Int32,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Shared Function Read( _
       ByVal stream As Stream, _
       ByVal maxLength As Integer, _
       ByVal data() As Byte, _
       ByVal dataOffset As Integer, _
       ByVal dataLength As Integer _
    ) As Integer
    'Usage
     
    Dim stream As Stream
    Dim maxLength As Integer
    Dim data() As Byte
    Dim dataOffset As Integer
    Dim dataLength As Integer
    Dim value As Integer
     
    value = SSHString.Read(stream, maxLength, data, dataOffset, dataLength)
    public static int Read( 
       Stream stream,
       int maxLength,
       byte[] data,
       int dataOffset,
       int dataLength
    )

    Parameters

    stream
    maxLength
    data
    dataOffset
    dataLength
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also